<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title></title>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Index/style/bootstrap-3.3.5-dist/css/bootstrap.min.css"/>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Index/style/topNav.css"/>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Index/style/content.css"/>
	<link rel="stylesheet" type="text/css" href="__STATIC__/Index/style/foot.css"/>
	<script src="__STATIC__/Index/js/jquery-1.7.2.min.js" type="text/javascript" charset="utf-8"></script>
	<script type="text/javascript">
		var ajaxUrl="{|U:'ajaxInventory',array('gid'=>$_GET['gid'])}"
		var cartUrl="{|U:'ajaxCart'}"
	</script>
	<script src="__STATIC__/Index/js/content.js" type="text/javascript" charset="utf-8"></script>
	<script src="__STATIC__/Index/js/common.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
<include file="__VIEW__/Common/topNav.html" />

<!---------------内容页头部开始 ----------->
<div id="conTopBox">
	<div id="conTop">
		<div class="logo">
			<img src="__ROOT__/{$goods.logo}" alt="" />
		</div>
		<div class="mem">
			<a href=""><img src="__STATIC__/Index/images/home.png"/></a>
			<a href=""><img src="__STATIC__/Index/images/love.png"/></a>
		</div>
	</div>
</div>
<!---------------内容页头部结束 ----------->


<!---------------面包屑开始 ----------->
<div id="bread">
	 <a href="__ROOT__">BOYS首页</a>
	 <list from="$bread" name="$b" start='0'>
		<if value='$hd.list.b.last'>
			<span>></span>
			<span class="last">{$b}</span>
		<else/>	
			<span>></span>
			<a href="{|U:'List/index',array('cid'=>$b['cid'])}">{$b.cname}</a>
		</if>
	</list>
</div>
<!---------------面包屑结束 ----------->


<!---------------商品信息区域开始 ----------->
<div id="goodsInfo">
	<!--每种颜色商品的套图-->
	<div class="goodsImg">
		<div class="bigImg">
			<list from="$goods['mimg']" name="$v">
				<img  <if value='$hd.list.n.first'>class="fst" </if> src="__ROOT__/{$v}" alt="" />
			</list>
		</div>
		<div class="thumb">
			<list from="$goods['simg']" name="$v">
				<a class="checked" href="javascript:;"><img src="__ROOT__/{$v}" alt="" /></a>
			</list>
		</div>
	</div>
	<!--每种颜色商品的套图结束-->
	
	<div class="right">
		<!--商品名称-->
		<div class="title">
			<h3 class="goodsName">{$goods.gname}</h3>
			<p><a href="{|U:'Brand/index',array('bid'=>$goods['bid'])}">{$goods.bname}</a></p>
		</div>
		<!--商品价格-->
		<div class="price">
			<span >市场价：</span>
			<span class="marketPrice">￥<b>{$goods.market_price}</b></span>
			<p></p>
			<span >商城价：</span>
			<span class="shopPrice">￥<b>{$goods.shop_price}</b></span>
		</div>
		<!--价格活动-->
		<div class="activity">
			<div class="activityImg">
				<a href=""><img src="__STATIC__/Index/images/goods/price.jpg" alt="" /></a>
			</div>
			<div class="activityCon">
				<ul>
					<li><span>满减</span>【优品推介】满￥599减￥150</li>
					<li><span>满减</span>【优品推介】满￥399减￥80</li>
					<li><span>加价购</span>【全场99元加价购】</li>
					<li><span>加价购</span>【全场49元加价购】</li>
					<li><span>加价购</span>【全场19元加价购】</li>
				</ul>
			</div>
		</div>
		<!--价格活动结束-->
		
		<!--商品购买区域-->
		<div class="goodsBuy">
			<ul>
				<!--这里留着之后做，选择颜色商品展示图更换对应的颜色
				<!--<li class="goodsColor">
					<span>选颜色：</span>
					<a class="checked" href="javascript:;"><img src="__STATIC__/Index/images/goods/buy/color.jpg"/></a>
					<a href="javascript:;"><img src="__STATIC__/Index/images/goods/buy/color.jpg"/></a>
					<a href="javascript:;"><img src="__STATIC__/Index/images/goods/buy/color.jpg"/></a>
					<a href="javascript:;">红</a>
					<a href="javascript:;">黄</a>
					<a href="javascript:;">蓝</a>
				</li>-->
				<foreach from="$attr" key="$k" value="$v">
					<li class="spec">
						<span>选{$k}：</span>
						<foreach from="$v" key="$ak" value="$a">
							<a href="javascript:;" gaid={$a.gaid} subjoin={$a.subjoin}>{$a.attr_value}</a>
						</foreach>
					</li>
				</foreach>
				<li class="quantity">
					<span>选数量：</span>
					<span class="num">1</span>
					<span class="change">
						<a class="up" href="javascript:;">+</a>
						<a class="down" href="javascript:;">-</a>
					</span>
					<span class="inventory">库存（<i>{$goods.store}</i>）件</span>
				</li>
			</ul>
			<form action="" method="post" id="shopCar">
				<input type="hidden" name="id" value="{$goods.gid}" />				<!--商品id-->
				<input type="hidden" name="name" value="{$goods.gname}" />			<!--商品名称-->
				<input type="hidden" name="num" class="numg" value="1" />			<!--商品数量-->
				<input type="hidden" name="price" class="priceg" value="{$goods.shop_price}" />	<!--商品价格-->
				<foreach from="$attr" key="$k" value="$v">						
					<input type="hidden" class="carSpec" name="options[{$k}]" value="" />			<!--商品规格-->
				</foreach>
				<input type="hidden" name='glid' class="glid" value="" />
				<input type="hidden" name="thumb" value="{$goods.list_img}" />
				<input type="submit" name="" id="car" value="添加到购物车" />
				<a href="" ><i class="glyphicon glyphicon-heart"></i> 收藏商品</a>
			</form>
			<div class="isRes">
				<a href="{|U:'Car/index'}" class="isCar">去购物车结算</a>
				<a href="javascript:;" class="goON">继续购物</a>
			</div>
		</div>
	</div>
	
</div>

<!---------------商品信息区域结束 ----------->



<!---------------商品属性区域开始 ----------->
<div id="goodsAttr">
	
	{$goods.info}
	
	<div class="attr user">
		<ul class="title ">
			<li btn="myAsk" class="my checked">顾客咨询 (<span>0</span>)</li>
			<li class="mid">|</li>
			<li btn="mySay" class="my ">购买评价 (<span>0</span>)</li>
		</ul>
		
		<div class="msg">
			<!--咨询内容-->
			<div class="comment askBox">
				<div class="msgTitle myAsk">
					<p>购买咨询(<span>0</span>)</p>
				</div>
				<div class="userCom">
					<img src="__STATIC__/Index/images/content/boy.jpg" alt="" />
					<p class="ask">身高162~裤子是29的~s码可以穿吗？！</p>
					<p class="time">2015-08-30 23:39:22</p>
					<p class="answer">您好，按照您提供的信息，建议参考S号，购买裤子是参考具体腰围厘米数的，不同品牌款式的尺码是不一样的，您也可以测量下自己的腰围然后参考网页尺码选择，感谢您对yoho!有货的关注。</p>
				</div>
				<div class="userCom">
					<img src="__STATIC__/Index/images/content/boy.jpg" alt="" />
					<p class="ask">身高162~裤子是29的~s码可以穿吗？！</p>
					<p class="time">2015-08-30 23:39:22</p>
					<p class="answer">您好，按照您提供的信息，建议参考S号，购买裤子是参考具体腰围厘米数的，不同品牌款式的尺码是不一样的，您也可以测量下自己的腰围然后参考网页尺码选择，感谢您对yoho!有货的关注。</p>
				</div>
				<a href="javascript:;" class="btn myAsk">我要咨询</a>
			</div>
			<!--评价内容-->
			<div class="comment sayBox">
				<div class="msgTitle mySay">
					<p>购买评价(<span>0</span>)</p>
				</div>
				<div class="userCom">
					<img src="__STATIC__/Index/images/content/boy.jpg" alt="" />
					<p class="ask">FranKa购买了红色/XL</p>
					<p class="time">2015-08-30 23:39:22</p>
					<p class="answer">您好，按照您提供的信息，建议参考S号，购买裤子是参考具体腰围厘米数的，不同品牌款式的尺码是不一样的，您也可以测量下自己的腰围然后参考网页尺码选择，感谢您对yoho!有货的关注。</p>
				</div>
				<div class="userCom">
					<img src="__STATIC__/Index/images/content/boy.jpg" alt="" />
					<p class="ask">身高162~裤子是29的~s码可以穿吗？！</p>
					<p class="time">2015-08-30 23:39:22</p>
					<p class="answer">您好，按照您提供的信息，建议参考S号，购买裤子是参考具体腰围厘米数的，不同品牌款式的尺码是不一样的，您也可以测量下自己的腰围然后参考网页尺码选择，感谢您对yoho!有货的关注。</p>
				</div>
				<a href="javascript:;" class="btn myAsk">我要评论</a>
			</div>
			
			<div class="newMsg myAsk">
				<form action="" method="post">
					<textarea name="comment" rows="" class="comText" cols=""></textarea>
					<input type="text" name="code" class="code" />
					<img src="" alt="验证码" class="code" />
					<input type="submit" value="提交查询" class="btn" />
				</form>
			</div>
			<div class="newMsg mySay">
				<form action="" method="post">
					<textarea onresize="" name="comment" rows="" class="comText" cols=""></textarea>
					<input type="text" name="code" class="code" />
					<img src="" alt="验证码" class="code" />
					<input type="submit" value="发表评论" class="btn" />
				</form>
				
			</div>
		</div>
	</div>
</div>

<!---------------商品属性区域结束 ----------->


<include file="__VIEW__/Common/foot.html"/>




</body>
</html>
<!---------------商品信息区域结束 ----------->